<template>
  <div class="private" v-if="privateList != null">
    <h4 class="h4">{{ privateList.name }}</h4>
    <div class="content">
      <div
        class="item"
        v-for="(item, index) in privateList.result"
        :key="index"
      >
        <div class="mv">
            <i class="iconfont iconMV"></i>
        </div>
        <img v-lazy="item.picUrl" alt />
        <div class="desc" :class="[`${program + 'bottom-' + theme}`]">
          {{ item.name }}
        </div>
      </div>
    </div>
  </div>
</template>

<script>
import { theme } from "mixin/global/theme";
export default {
  name: "",
  mixins: [theme],
  props: {
    privateList: {
      type: Object,
      default: () => {} ,
    },
  },
  data() {
    return {};
  },
};
</script>

<style lang="less" scoped>
.content {
  margin-top: 10px;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}
.item {
  position: relative;
  width: calc(33% - 20px);
  margin: 0 10px;
  cursor: pointer;
}
.item img {
  width: 100%;
  border-radius: 5px;
}
.dance-music-bottom {
  &-dark {
    color: var(--dark-article-color);
  }
}
.mv {
    position: absolute;
    top: 5px;
    left: 5px;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
}
.iconfont {
    color: #fff;
}
h4 {
    margin-top: 10px;
}
</style>